package com.weidey.blog.domain;

import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.weidey.common.annotation.Excel;
import com.weidey.common.core.domain.BaseEntity;

/**
 * 文章标签对象 blog_label
 * 
 * @author weidey
 * @date 2024-09-09
 */
@Setter
@Getter
public class Label extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 文章id */
    @Excel(name = "文章id")
    private Long articleId;

    /** 标签 */
    @Excel(name = "标签")
    private String label;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String isDelete;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("articleId", getArticleId())
            .append("label", getLabel())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
